//
//  Hello_UTAppDelegate.m
//  Hello UT
//
//  Created by Stuart Montgomery on 2/15/09.
//  Copyright The University of Texas at Austin 2009. All rights reserved.
//

#import "Hello_UTAppDelegate.h"

@implementation Hello_UTAppDelegate

@synthesize window;
@synthesize textField;
@synthesize label;


- (void)applicationDidFinishLaunching:(UIApplication *)application {    

    // Override point for customization after application launch
    [window makeKeyAndVisible];
}


- (void)dealloc {
    [window release];
    [super dealloc];
}


- (BOOL)textFieldShouldReturn:(UITextField *)aTextField
{
    [textField resignFirstResponder];
    return YES;
}


- (IBAction)welcome:(id)sender
{
    label.text = [NSString stringWithFormat:@"Welcome %@!", textField.text];
}


@end
